package com.alan.dubbo.consume;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ImportResource;
import org.springframework.context.annotation.PropertySource;
import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;

/**
 * Created by Alan on 2017/12/12.
 */
@SpringBootApplication
@ImportResource(locations = {"classpath:spring-dubbo.xml"})
public class StartConsume {

    public static void main(String[] args) {
        SpringApplication.run(StartConsume.class, args);
    }

}
